package com.gx.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lpj
 * @TableName data_source
 */
@Data
@TableName(value = "tb_tenant_source")
public class TenantSource implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private String id;
    @ApiModelProperty("数据库名称")
    private String dataBaseName;
    @ApiModelProperty("数据库url")
    private String url;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("密码")
    private String passWord;
    @ApiModelProperty("租户id")
    private String tenId;
    @ApiModelProperty("是否初始化")
    private int initFlag;
}